/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.edu.amu.wmi.kino.visualjavafx.javafxcodegenerators.object;

import pl.edu.amu.wmi.kino.visualjavafx.model.objects.path.LineToPathElement;

/**
 *
 * @author Admin
 */
public class LineToGenerator extends MoveToGenerator{

    @Override
    public boolean canGenerate(Object o){
        if(o instanceof LineToPathElement)
            return true;
        else return false;
    }
    @Override
    public void generateStart(StringBuilder sb){
        sb.append("LineTo{\n");
    }

}
